package com.summer.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.time.LocalDateTime;
import java.io.Serializable;
import java.util.Date;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *活动基本信息
 * @author summer502
 * @since 2021-03-31
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName(value = "tb_activityinfo")

public class TbActivityinfo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 活动id
     */
    @TableId(value = "activity_id", type = IdType.AUTO)
    private Integer activity_id;

    /**
     * 活动创建用户id
     */
    @TableField("create_user_id")

    private Integer createUserId;

    /**
     * 活动创建人姓名
     */
    @TableField("create_user_name")

    private String createUserName;

    /**
     * 活动类型名
     */
    @TableField("activity_type_name")

    private String activityTypeName;

    /**
     * 活动名
     */
    @TableField("activity_name")

    private String activityName;

    /**
     * 活动描述
     */
    @TableField("activity_description")

    private String activityDescription;

    /**
     * 活动开始时间
     */
    @TableField("activity_start_time")

    private String activityStartTime;

    /**
     * 活动结束时间
     */
    @TableField("activity_end_time")

    private String activityEndTime;

    /**
     * 报名开始日期
     */
    @TableField("signup_start_time")

    private String signupStartTime;

    /**
     * 报名结束日期
     */
    @TableField("signup_end_time")

    private String signupEndTime;

    /**
     * 活动计划人数
     */
    @TableField("plan_num")

    private Integer planNum;

    /**
     * 活动联系人
     */
    @TableField("contact_name")

    private String contactName;

    /**
     * 活动联系电话
     */
    @TableField("contact_num")

    private String contactNum;

    /**
     * 活动联系邮箱
     */
    @TableField("contact_email")

    private String contactEmail;

    /**
     * 创建时间
     */
    @ApiModelProperty(name = "create_time", value = "创建时间")

    @TableField(value = "create_time",fill = FieldFill.INSERT)
    private Date create_time;

    /**
     * 修改时间
     */
    @ApiModelProperty(name = "update_time", value = "修改时间")

    @TableField(value = "update_time",fill = FieldFill.INSERT_UPDATE)
    private Date update_time;


    /**
     * 是否删除
     */
    @TableField("is_delete")
    private Integer isDelete;
    @TableField("times")
    private String times;

}
